package cn.bdqn.witcity.service;

import cn.bdqn.witcity.entity.Comment;
import cn.bdqn.witcity.mapper.CommentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CommentServiceImpl implements CommentService {

    @Resource
    CommentMapper commentMapper;
    @Override
    public int addComment(Comment comment) {
        return commentMapper.addComment(comment);
    }
}
